<% provide(:title, t('user.index.title')) %>
<h1><%= t('user.index.title') %></h1>

<%= will_paginate %>

<ul class="users">
	<% if @users.each do |user| %>
		<%= render user %>
	<% end.empty? %>
		<%= t('content.list.no_elements', elements: t('activerecord.models.user', count: 2)) %>
	<% end %>
</ul>

<%= will_paginate %>